package com.qf.rpc.client;

import com.qf.rpc.TestService;
import com.qf.rpc.UserService;

public class ClientTest {
    public static void main(String[] args) {
//        TestService service=(TestService)ServiceProxy.getProxyInstance(TestService.class);
//        System.out.println(service.hello("aaaa"));
        UserService service=(UserService)ServiceProxy.getProxyInstance(UserService.class);
        System.out.println(service.test());
    }
}
